/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.biz.domain;

import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import java.sql.Timestamp;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
* @description /
* @author yiwei.he
* @date 2024-03-11
**/
@Data
@TableName("tz_profession_dict")
public class ProfessionDict implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "专业代码(专科)")
    private String specialistCode;

    @ApiModelProperty(value = "专科专业")
    private String sProfessionName;

    @ApiModelProperty(value = "专业代码(本科)")
    private String undergraduateCode;

    @ApiModelProperty(value = "本科专科")
    private String uProfessionName;

    @ApiModelProperty(value = "考试科目")
    private String examSubject;

    @ApiModelProperty(value = "删除【0：未删除 1：已删除】")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "考试类别【1：理工农医类 2：非理工农医类】")
    private Integer examType;

    @ApiModelProperty(value = "划线类别")
    private String lineType;

    public void copy(ProfessionDict source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
